package main

import (
	"fmt"
	"test/wrapper"
	"time"
)

func main() {

	sz := []byte{'I', 'F', '2', '0', '0', 0}
	ret := wrapper.SubscribeTicks([]string{string(sz), string(sz)})
	fmt.Println("subscribe ticks, ret:", ret)
	ret = wrapper.SubscribeGoods([]string{"003", "004"})
	fmt.Println("subscribe goods, ret:", ret)
	time.Sleep(time.Second)
}
